package com.dingding.facade.queue.dto.push;

import java.io.Serializable;
import java.util.Map;

import com.dingding.facade.queue.enums.ClientType;
import com.dingding.facade.queue.enums.PushType;
import com.dingding.facade.queue.enums.RoleType;

/**
 * 
 * @ClassName: RequestDTO 
 * @Description: 极光推送数据传输bean
 * @author CHEHAUNBO 
 * @date 2016年6月6日 下午10:46:40
 */
public class PushRequestDTO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private PushType pushType; // 推送类型
	private String aliasId; // 别名
	private String alert; // 通知
	private String msgTitle;// 标题
	private ClientType clientType; // 客户端类型
	private String pushContent; // 推送内容
	private RoleType roleType; // 角色类型 车主端 or 乘客端
	private Map<String, String> map; // 自定义类型

	public String getAliasId() {
		return aliasId;
	}

	public void setAliasId(String aliasId) {
		this.aliasId = aliasId;
	}

	public String getAlert() {
		return alert;
	}

	public void setAlert(String alert) {
		this.alert = alert;
	}

	public String getMsgTitle() {
		return msgTitle;
	}

	public void setMsgTitle(String msgTitle) {
		this.msgTitle = msgTitle;
	}

	public ClientType getClientType() {
		return clientType;
	}

	public void setClientType(ClientType clientType) {
		this.clientType = clientType;
	}

	public String getPushContent() {
		return pushContent;
	}

	public void setPushContent(String pushContent) {
		this.pushContent = pushContent;
	}

	public PushType getPushType() {
		return pushType;
	}

	public void setPushType(PushType pushType) {
		this.pushType = pushType;

	}

	public Map<String, String> getMap() {
		return map;
	}

	public void setMap(Map<String, String> map) {
		this.map = map;
	}

	public RoleType getRoleType() {
		return roleType;
	}

	public void setRoleType(RoleType roleType) {
		this.roleType = roleType;
	}

	@Override
	public String toString() {
		return "PushRequestDTO [pushType=" + pushType + ", aliasId=" + aliasId + ", alert=" + alert + ", msgTitle="
				+ msgTitle + ", clientType=" + clientType + "RoleType" + roleType + ", pushContent=" + pushContent
				+ "]";
	}

}
